5a346a
@@ -3,6 +3,7 @@
package org.springframework.roo.addon.layers.service;
 import org.apache.felix.scr.annotations.Component;
 import org.apache.felix.scr.annotations.Reference;
 import org.apache.felix.scr.annotations.Service;
+import org.springframework.roo.classpath.converters.JavaTypeConverter;
 import org.springframework.roo.model.JavaType;
 import org.springframework.roo.shell.CliAvailabilityIndicator;
 import org.springframework.roo.shell.CliCommand;
@@ -31,7 +32,7 @@
public class ServiceCommands implements CommandMarker {
     public void service(
             @CliOption(key = "interface", mandatory = true, help = "The java interface to apply this annotation to") final JavaType interfaceType,
             @CliOption(key = "class", mandatory = false, help = "Implementation class for the specified interface") JavaType classType,
-            @CliOption(key = "entity", unspecifiedDefaultValue = "*", optionContext = "update,project", mandatory = false, help = "The domain entity this service should expose") final JavaType domainType) {
+            @CliOption(key = "entity", unspecifiedDefaultValue = "*", optionContext = JavaTypeConverter.PROJECT, mandatory = false, help = "The domain entity this service should expose") final JavaType domainType) {
 
         if (classType == null) {
             classType = new JavaType(interfaceType.getFullyQualifiedTypeName()
